package cn.jiyun.feign;

import cn.jiyun.entity.day09.SjDto;
import cn.jiyun.entity.day09.SjDto2;
import cn.jiyun.entity.day09.SjDto3;
import cn.jiyun.utils.ResultResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Title: TestParperFeign
 * @Author 王鸽
 * @Date 2023/8/24 11:27
 */
@FeignClient(name ="p11-day11-testParper")
public interface TestParperFeign {
    @RequestMapping("/testparper/findAlltestparper")
    public ResultResponse findAlltestparper();
    @RequestMapping("/testparper/findti")
    public ResultResponse findti();
    @RequestMapping("/testparper/findTestparper")
    public ResultResponse findTestparper(@RequestParam("id") Integer id);
    @PostMapping("/testparper/findSt")
    public ResultResponse findSt(@RequestParam("id")Integer id);
    @RequestMapping("/testparper/findStXx")
    public ResultResponse findStXx(@RequestParam("id")Integer id);
    @RequestMapping("/testparper/findDtJL")
    public ResultResponse findDtJL(@RequestParam("jsId")Integer jsId,@RequestParam("tid")Integer tid);
    @RequestMapping("/testparper/findDt")
    public ResultResponse findDt(@RequestParam("jsId")Integer jsId);
    @RequestMapping("/testparper/findZdf")
    public ResultResponse  findZdf(@RequestParam("jsId")Integer jsId);
    @RequestMapping("/testparper/findPHB")
    public ResultResponse findPHB(@RequestParam("jsId")Integer jsId);
    @RequestMapping("/testparper/findAllSj")
    public ResultResponse findAllSj(@RequestBody SjDto sjDto);
    @RequestMapping("/testparper/findAllSj2")
    public ResultResponse findAllSj2(@RequestBody SjDto2 sjDto2);
    @RequestMapping("/testparper/findAllSj3")
    public ResultResponse findAllSj3(@RequestBody SjDto3 sjDto3);
    @RequestMapping("/testparper/findTestnum")
    public ResultResponse findTestnum();

}
